package com.cxl.adt.stack;
/* Location:           E:\work\eclipse3.6_\workspace\design_pattern\
 * Qualified Name:     com.cxl.adt.stack.StackClient
 * JD-Core Version:    0.6.1
 */
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;

public class StackClient
{
  public static void main(String[] args)
  {
    while (true)
      try
      {
        System.out.println("Please Enter a String");
        BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
        String input = buf.readLine();
        if (("".equals(input.trim())) || (input == null)) {
          break;
        }
        Reverser reverser = new Reverser(input);
        String output = reverser.doRve();
        System.out.println("The Result is :" + output);
      } catch (IOException e) {
        e.printStackTrace();
      }
    String input;
  }
}

